﻿using ConsoleApp2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anpet
{
    class PetStore
    {
        public void ConsignCat(Cat c)
        {
            c.Eat();
            c.Sleep();
            c.walk();
            c.Cry();
        }

        public void ConsignTiger(Tiger t)
        {
            t.Eat();
            t.walk();
            t.Sleep();
            t.Cry();
        }

        public void ConsignSwallow(Swallow s)
        {
            s.Eat();
            s.walk();
            s.Sleep();
            s.Cry();
        }

        public void ConsignAnimal(Animal a)
        {
            
            a.Eat();
            a.walk();
            a.Sleep();
            a.Cry();
        }
    }
}
